package controller.algorithms;

import controller.entitiesManagement.Entity;
import controller.environment.ground.Ground;
import controller.taskManagement.Task;

public abstract class Algorithm {

	protected int m_score;
	
	public abstract boolean nextStepEntity(Entity entity);
	public abstract boolean nextStepTask(Task task);
	public abstract boolean nextStepGround(Ground ground);
	
	public void displayInfo(){
		System.out.println("Score = " + m_score);
	}
	
	public void addOneToScore(){
		m_score++;
	}
}
